package com.yuyou.weixin.mapper;

import com.yuyou.weixin.entity.Answer;
import com.yuyou.weixin.entity.AnswerHis;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface AnswerMapper {

    int insertAnswer(Answer answer);

    List<AnswerHis> queryAnswerHis(String unionid);
}
